<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            font-size: 40px;
            background-color: orange;
            /*left：靠左对齐，默认*/
            /*center，居中*/
            /*center，靠右对齐*/
            text-align: right;
        }
    </style>
</head>
<body>
<div>abc你好</div>
</body>
</html>